package com.service;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.List;

import com.model.Location;

public interface LocationService {
	 int insert(Location record);

	 int insertSelective(Location record);
	 
	 List<Location> selectAllPeopleLocation();
	 
	 int updateAllLocation(Location record);
	 
	 Location selectCarByCarId(String openid);
	 
	 Timestamp selectCarLastTime(String openid);
	 
	 int updateSchoolBus(Location record);
	 //通过id找全部
	 Location selectNewBus(Integer uId);
	 //去数据库找人有没有插过地理位置
	 List<Location> selectUser(Integer uId);
	 
	 int deleteBusLocation(Integer uId);
	 
	 int deleteAllPeopleLocation(Integer uId);
}
